import instance from "./reques";

export const getshoplist = ()=>{
    return instance.get('/shoplist')
}

export const delshoplist = (id)=>{
    return instance.delete(`/shoplist/${id}`)
}

export const addshoplist = (obj)=>{
    return instance.post('/shoplist',obj)
}

export const editshoplist = (obj)=>{
    return instance.patch(`/shoplist/${obj.id}`,obj)
}
